/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.shop.device.service;


import org.opsli.api.wrapper.shop.userorder.SysUserOrderModel;
import org.opsli.core.base.service.interfaces.CrudServiceInterface;


import org.opsli.modulars.shop.device.entity.SysShopDevice;
import org.opsli.api.wrapper.shop.device.SysShopDeviceModel;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

/**
 * 门店设备 Service
 *
 * @author 17607080935
 * @date 2025-01-08 17:12:50
 */
public interface ISysShopDeviceService extends CrudServiceInterface<SysShopDevice, SysShopDeviceModel> {

    List<SysShopDeviceModel> findPageWeChat(String orgIds, Date date, Integer pageNo, Integer pageSize);


    @Transactional(rollbackFor = Exception.class)
    SysShopDeviceModel assembleShopDeviceOrder( SysShopDeviceModel o, List<SysUserOrderModel> list);
}